/**
 * Copyright 2008 Frank van Lingen Licensed under the Apache License, Version
 * 2.0 (the "License"); you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
 * or agreed to in writing, software distributed under the License is
 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package superpodder.model;

/**
 * Holds the basic settings for a dowload session. The settings are all public
 * static so that they can be manipulated throughout the different objects. (it
 * is simple implementation of a singleton class)
 * 
 * @author fvlingen
 */

public class Settings {

    public static enum status {
        begin, start, stop, pause, delayed_stop
    }

    /**
     * Points to the download dir where the podcasts will be stored in their
     * <group>/<name> subdirs
     */

    public static String downloadDir   = null;
    /**
     * Points to file holding rssfeeds.
     */
    public static String feeds         = null;

    /**
     * Points to files that where already downloaded.
     */
    public static String history       = null;

    /**
     * Number of parallel downloads
     */
    public static int    threads       = 1;       
    
    /**
     * Check if the torrent link is activated
     */
    public static String torrentLink = "false";
    
    /**
     * Location of the torrent client used when the 
     * torrent link is activated.
     */
    public static String torrentExe = "not set";

    public static status currentStatus = status.begin;

    public Settings() {
        System.out.println("Instantiating Model Interface");
    }

}
